﻿package  
{
	import flash.display.Sprite;
	import flash.display.MovieClip;
	import fl.transitions.TransitionManager;
	import fl.transitions.Blinds;
	import fl.transitions.easing.*;
	import fl.transitions.Transition;
	/**
	 * ...
	 * @author chancidal
	 */
	public class Main extends Sprite
	{
		public function Main() 
		{
			var trans_obj:Object = new Object();
			trans_obj.direction = Transition.IN;//出现时的动画
			trans_obj.duration = 1;//一秒的缓动时间
			trans_obj.type = Blinds;//动画的类型
			trans_obj.easing = Strong.easeOut;//补间效果
			//必须有两个参数：
			TransitionManager.start(mc,trans_obj);
		}
		
	}

}